<template>
  <div>
    <!-- <h2>404 NOT FOUNT !</h2> -->
    <el-empty :image-size="300"
              description=" ">
      <h2>ERROR 404 NOT FOUND !</h2>
      <el-button type="primary"
                 @click="gotoLogin">回到首页</el-button>
    </el-empty>
  </div>
</template>

<script>
import { defineComponent } from "vue";
import { useRouter } from "vue-router";
export default defineComponent({
  setup() {
    const router = useRouter();
    const gotoLogin = () => {
      router.replace("/");
    };
    return {
      gotoLogin,
    };
  },
});
</script>

<style lang="less" scoped>
</style>